package org.meetunexpectedly.entity.vo;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotNull;

/**
 * @Description: 忘记密码类
 * @Author: pupil
 * @Date: 2024/08/11 下午 4:21
 */
@Data
public class ForgotPwdVO {

    @Email(message = "邮箱格式不正确")
    private String email;

    @NotNull(message = "邮箱验证码不能为空")
    private String code;

    @NotNull(message = "新密码不能为空")
    private String newPassword;

}
